package com.example.demo1;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class ShowActivity extends AppCompatActivity {
    TextView textView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        System.out.println("到达show");
        setContentView(R.layout.activity_show);
        textView=findViewById(R.id.textView2);


        Intent intent=getIntent();
        Bundle bundle=intent.getBundleExtra("bundle");

        String username= bundle.getString("username");
        String phone= bundle.getString("phone");
        String pwd= bundle.getString("pwd");
        String email= bundle.getString("email");
        textView.setText(" username:"+username+" phone:"+phone+" pwd:"+pwd+" email:"+email);
    }

}